package com.cy.store.service.impl;

import com.cy.store.entity.Provinces;
import com.cy.store.mapper.ProvincesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */
@Service
public class ProvincesService {
    @Autowired
    private ProvincesMapper provincesMapper;

    public List<Provinces> getProvinces(){
        return provincesMapper.selectAllProvinces();
    }

}
